package com.yuan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * Hello world!
 *
 */
@ServletComponentScan //开启过滤器
@SpringBootApplication
@EnableScheduling //开启任务调度 task
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
